package demo1209.am;
/*
姓名 学号 性别
 */
public class Student {
//    成员变量
    private int stuId;
    private String name;
    private String gender;

    public Student(int stuId, String name, String gender) {
        this.stuId = stuId;
        this.name = name;
        this.gender = gender;
    }

    public Student() {
    }

    public int getStuId() {
        return stuId;
    }

    public void setStuId(int stuId) {
        this.stuId = stuId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public void show(){
        System.out.println(stuId+" "+name+" "+gender);
    }
}
